﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace RsCms.UI.Models
{
    public class SettingsDto
    {
      
        [JsonPropertyName("id")]
        public string Id { get; set; }

        [JsonPropertyName("created_at")]
        public DateTime CreatedAt { get; set; }

        [JsonPropertyName("created_by")]
        public string CreatedBy { get; set; } = "1";

        [JsonPropertyName("flags")]
        public string Flags { get; set; } = "";

        [JsonPropertyName("group")]
        public string Group { get; set; }

        [JsonPropertyName("key")]
        public string Key { get; set; }

        [JsonPropertyName("type")]
        public string Type { get; set; } = "string";

        [JsonPropertyName("updated_at")]
        public DateTime? UpdatedAt { get; set; }

        [JsonPropertyName("updated_by")]
        public string UpdatedBy { get; set; } = "";

        [JsonPropertyName("value")]
        public string Value { get; set; } = "";
        [JsonPropertyName("order")]
        public int Order { get; set; } = 0;
    }
}
